﻿@model PagedList<ArticleModel>

@Html.Partial("_ArticlePage")

<div style="margin:0 auto; text-align:center;">
    <nav>
        @Ajax.Pager(Model, new PagerOptions
   {
       PageIndexParameterName = "page",
       RouteValues = new RouteValueDictionary { { "cid", @ViewBag.cid } },
       CurrentPagerItemTemplate = "<span class=\"current\">{0}</span>",
       DisabledPagerItemTemplate = "<span class=\"disabled\">{0}</span>",
       Id = "flickrpager"
   }).AjaxOptions(a => a.SetUpdateTargetId("articleManagerlist"))
    </nav>
</div>
